package com.financial.sys.vo.repayment;

import com.financial.model.pojo.TLoginLog;
import com.financial.model.pojo.TSystemDictionary;
import lombok.Data;

import java.util.List;

@Data
public class TLoginLogPageResult {
    private Integer totalCount;
    private Integer currentPage;
    private Integer pageSize;
    private Integer prevPage;
    private Integer nextPage;
    private Integer totalPage;
    public List<TLoginLog> listData;

    public static TLoginLogPageResult empty(Integer pageSize) {
        if (pageSize == 0) {
            return null;
        }
        return new TLoginLogPageResult();
    }

    public TLoginLogPageResult() {
    }
    public TLoginLogPageResult(List<TLoginLog> listDate,Integer totalPage,Integer currentPage,Integer pageSize){
        this.listData=listDate;
        this.totalCount=totalPage;
        this.currentPage=currentPage;
        this.pageSize=pageSize;
    }
}
